package controllers

import (
	"github.com/gin-gonic/gin"
	"social-app/pkg/response"
)

type DefaultController struct{}

func (d DefaultController) Index(c *gin.Context) {
	response.Success(c, "Hello Social App", nil)
}

func (d DefaultController) Handler(c *gin.Context) {
	response.Error(c, 500, "no defined router")
}
